import type { PageParams } from '@/types/common'
// import type { BannerItem, categoryItem, hotItem, guessItem } from '@/types/home'
import { http } from '@/utils/http.ts'
import type { CategoryTopItem } from '@/types/category'

/**
 * 热门推荐-分类-分类列表-小程序
 * @param distributionSite
 */
export const getCategoryAPI = () => {
  return http<CategoryTopItem[]>({
    method: 'GET',
    url: '/category/top',
  })
}
